-- GENERATED SPELL FOR [Poshken Hardbinder] --


function spell0_30709(pUnit, Event) --@Chains of Ice,n/a--
pUnit:FullCastSpellOnTarget(512,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30709', 21300, 1)
end

function Sorts_30709(pUnit, Event)
local choix_sorts_30709 = math.random(0, 0)
if choix_sorts_30709 == 0 then
pUnit:RegisterEvent('spell0_30709', 1, 1)
end
end

function mob30709_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30709', math.random(1500, 3000), 1)
end

function mob30709_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30709_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30709_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30709, 1, 'mob30709_Action')
RegisterUnitEvent(30709, 2, 'mob30709_Leave')
RegisterUnitEvent(30709, 3, 'mob30709_Kill')
RegisterUnitEvent(30709, 4, 'mob30709_Die')
